Used RuleViolation instead of IRuleViolation.
Merge branch 'pmd-upgrade' into tests-fix