Building code
The rules used on a specific building may be very different depending on where the building is and what it is used for. For example, a house will have extra rules about making sure people can live there, while a hotel will have extra rules about fire exits. Many public buildings have a "maximum occupancy" for some rooms, which is how many people may be allowed into that room at once.