fix style cop rules and references