Fix sonar matchers rules