Add and-predicate and not-predicate.