added flag checking to xAllOf, ...
added more flags to predicates.