Class for build Predicate