School rules are not laws.
So, when the school rules are against the law, for example, if it is "a thing that undermines a student's human rights without good cause", you can ask the school to abolish the school rules.
If the school refuses the request, a student can bring a lawsuit against the school
Well, few teachers teach such procedures to students.
-----
By the way, some idol groups seem to have a rule of "prohibition of love."
"Really enviable"
The idea of losing if you don't fall in love with the world --- At least you can forget how long you have been in the group.
Isn't this rule very easy to feel?
Furthermore, if a school's rules include prohibits romance, there is no concept of "social life" At least within the scope of the school rules (campus).
-----
Well, the former teenager who had done voluntarily “self-restrained in love”are thinking that.