It is preparing a law that will make it easier for apartment blocks to install solar panels on their rooftops.