Conditions on grammar symbols updated.