use PoolFilterBuilder to replace some CriteriaRules code