api/rule_set.go
func (a *API) DeleteRuleSet(cfg *RuleSet) (bool, error) {
	if cfg == nil {
		return false, fmt.Errorf("Invalid rule set config [nil]")
	}
	return a.DeleteRuleSetByCID(CIDType(&cfg.CID))
}
func (a *API) DeleteRuleSet(cfg *RuleSet) (bool, error) {
	if cfg == nil {
		return false, fmt.Errorf("Invalid rule set config [nil]")
	}
	return a.DeleteRuleSetByCID(CIDType(&cfg.CID))
}
func ( a * API ) DeleteRuleSet ( cfg * RuleSet ) ( bool , error ) { if cfg == nil { return false , fmt . Errorf ( " " ) } return a . DeleteRuleSetByCID ( CIDType ( & cfg . CID ) ) }
// DeleteRuleSet deletes passed rule set.
DeleteRuleSet deletes passed rule set .