Like almost everything, there needs to be some balance. I'm not sure bad ratings due to "I was breaking the law and he gave me a ticket instead of a warning" would be best for society. But if the officer was cordial and courteous in that same interaction and they received good feedback, that would probably be a good reinforcement loop. A complete totalitarian police state wouldn't be good for society but going to the other end of the spectrum and having lax policing would also be bad for society, I think we need to try to strive for the least bad balance, which seems like it is incredibly hard to do and then of course no one will be completely happy and lots of people will complain. They have a very tough usually thankless job.