Added extension for Predicate expression

This allows to build dynamic filter.