properly match post declared grammars.