Added template for entry guard grammar.