Rewrite Tokenizer