added grey background preferences for code rule
initing preferences on plugin startup