rules.add(new MultiLineRule("/*", "*/", comment));
rules.add(new SingleLineRule("<script", ">", script));
rules.add(new SingleLineRule("</script", ">", script));
rules.add(new NumberRule(number));
rules.add(new WhitespaceRule(new DjangoWhitespaceDetector()));
WordRule wordRule = new WordRule(new GenericWordDetector(), normal);
for(int i=0;i<KEYWORDS.length;i++){
wordRule.addWord(KEYWORDS[i], keyword);
}