addgrammar template change