A set of rules that establish the minimum acceptable levels of safety for constructed structures. Building codes also provide minimum standards for the energy consumption of structures. In the United States, model codes are developed and published by the International Code Council (ICC, see also) and the National Fire Protection Association (NFPA, see also). Model codes acquire legal standing when adopted by state or local authorities.