Extract rule names as IDs from phpmd