added cancel-completion rule.
added class/interface snippets.