Remove unnecessary PMD rules