Its so strange to think of rainwater collection as illegal. That is utterly dystopian. But there it is across multiple areas.
Rules against solar? Wow! That's backwards and just screams stupid. On the flip side, I fully get regulation for any connection to the grid as with some kind of permit for the house wiring in general. House wiring should be up to some agreed upon code so its not made of sticky tape and extension cords.