Syntax highlighting function for phpmd

A syntax highlighting function for phpmd, based on the ruleset definitions in `.../PHP_PMD/resources/rulesets`.