Simplify grammar for LogicalExpression.