Фраза 'It's against the rules' указывает на запрет. В таких случаях используется модальный глагол 'mustn't'.
You mustn't drink beer in this place.