A simple grammar that helps prepare search predicates for many cases