Sure, but the best ruleset I’ve ever seen actually work is “don’t make us ban you”. Everyone knows where they stand with that one.
Having blanket ‘rules’ that are enforced at-will under the pretense that they’re actual rules, like anti-loitering laws… tend to get used less-transparently and more disingenously.