add smartchr rules for cc-mode