combine grammars