added comment rules and auto completion of keywords and types