Reposting here as per recommendation (thank you magimedi), really hoping someone will recognise the book I'm talking about.
I don't know the title or the author. I read it some time in the 1970's in my local children's library. Probably before 1975.
It was set in not-Earth, a colony where there was mining and the mines often collapsed, creating orphans that the rest of the colony would adopt, and it was considered an honour to adopt them (because their parents had died serving the colony). It rained at ?3pm? every day, the ruling elite claimed that this was their doing. The main character, an adopted orphan, thought this was probably rubbish, and he and another orphan were quite rebellious. They were arrested, the other orphan was ambushed and killed, the main character delivered to the ruling elite. At which point he is informed that he is not an orphan but a child of the elite, who are routinely fostered out as miners' orphans, to ensure that the colony rulers do not become hereditary. If you rebel you basically show the ability to think, only those who question orders are thought to be fit to give the orders.
Does anyone know the name of this book? Please?