code: func (lb *loadBalancer) deleteLoadBalancerRule(lbRule *cloudstack.LoadBalancerRule) error {
  	p := lb.LoadBalancer.NewDeleteLoadBalancerRuleParams(lbRule.Id)
  
  	if _, err := lb.LoadBalancer.DeleteLoadBalancerRule(p); err != nil {
  		return fmt.Errorf("error deleting load balancer rule %v: %v", lbRule.Name, err)
  	}
  
  	// Delete the rule from the map as it no longer exists
  	delete(lb.rules, lbRule.Name)
  
  	return nil
  }
docs: // deleteLoadBalancerRule deletes a load balancer rule.