can i get a rule file to generate buildings based on number of floors?
Is the number of floors coming from an import SHP file or some other location? Or are you looking to manually (or randomly) assign number of floors?
Yes, you can generate a building based on number of floors.
For example, if you have an attribute for the number of floors and you know the floor height, then you can calculate the building height.
attr nFloors = 5
const floor_height = 3
const height = nFloors*floor_height
Lot -->
extrude(height)