Fixed a problem where pmd rules location was hard-coded.