add the language switcher to the rule editor