added rules option to phpmd plugin