fix rules, can not import PFG related unless installed...