Improved the code that downloaded PMD ruleset to local.