From FireCode to thermaldesign: KBS for the building industry