Rules for and Regulation of Community Energy Facilities