added phpmd.xml

the rules for PHPMD