Edited Grammar in template file