Add rule "z "
Add mode::handle_char
Add tests