The answer to this question is both general and subjective. However, the sourceforge pmd site has a list of some pre-packaged rulesets:
http://pmd.sourceforge.net/pmd-5.0.5/rules/index.html
You should probably use at least the basic ruleset. Beyond that, it's up to what kind of project you are working on and which rules apply to it.