remove unnecessary patterns
update phpmd.xml rules