Add parser rules for literals.