The new rules come as the country tries to reduce energy consumption due to a gas supply shortage sparked by the Russian invasion of Ukraine.