replaced tokenizer with highlightrules