How can I deal with a tough professor?

Those rules all seem fair except for the bathroom one.