add SwitchSharp rule