You probably didn't go to public school(/end ad hominem). The teacher are so dense that you need rules like that so the parents have something to point to when their kids come home and tell them they are being harassed.
Two, yeah, I went to public school. I've seen all sorts of well meaning "policy announcements" that hack solutions to glaring embarrassments without doing anything about the underlying problems.