Creating Solar rules for energy consumption/production

All that is here: