//SetRuleDisableState will set the disable state of a rule
SetRuleDisableState will set the disable state of a rule
// SetRuleDisableState will set the disable state of a rule
func SetRuleDisableState(pos, groupPos int, state bool) {
	for i := 0; i < len(rules); i++ {
		for j := 0; j < len(rules[i].Rules); j++ {
			if i == pos && groupPos == j {
				rules[i].Rules[j].Disabled = state
			}
		}
	}
}
func SetRuleDisableState ( pos , groupPos int , state bool ) { for i := 0 ; i < len ( rules ) ; i ++ { for j := 0 ; j < len ( rules [ i ] . Rules ) ; j ++ { if i == pos && groupPos == j { rules [ i ] . Rules [ j ] . Disabled = state } } } }
SetRuleDisableState will set the disable state of a rule
SetRuleDisableState will set the disable state of a rule