Building to Save Energy: Legal and Regulatory Approach