The rule says "school uniform or jersey/coaching shirt with slacks, shorts or other leg coverings in school colors or colors of khaki, black, white or gray"
"Cut-offs or any type of jeans are prohibited"
The point is decorum, legitimizing the image; even of not worded as such.