right after the building's cost comes
<ModObjectName>maze</ModObjectName>
(this is the minotaur dwelling) this parameter is responsible for the appearance
<UIObjectName>Dwelling_3</UIObjectName>and this is most likely the identifier for the building menu