I doubt that it is against OHSA rules, however, an employer can tell you when you can eat and drink. Many jobs do not allow you to eat or drink while you are working. You can only do it on breaks.
Not likely an OSHA rule, but your employer can legally make that rule.
Your employer is full of shizzle.....in fact it is illegal for them to DENY you access to water!