code: 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))
  }
docs: // DeleteRuleSet deletes passed rule set.