Simplify grammar