Each State or Town adopts "model" codes, such as the NEC, as they see fit to be law. Included in each building code are the requirements where these model codes are to be referenced. Invariably, the building code is adopted for building, i.e. new construction and remodeling. The existing buildings section of building codes deal with remodeling concerns. The fire codes are adopted, side by side, with the building codes. Fire codes address the maintaince issues. Take a look at NFPA 101, for the maintenance of buildings. Talk to your fire marshal with your concerns, it is his job to inspect the buildings in your town for proper maintenance.