grammar file templates + grammar builder