While adding swith entities for Switches module, contexts/values for the conditions defined by rules module are not being saved