'Remove anti affinity rule
:param anti_affinity_rule: The anti affinity rule to delete
:type  anti_affinity_rule: :class:`DimensionDataAntiAffinityRule` or
``str``
:rtype: ``bool``'

def ex_delete_anti_affinity_rule(self, anti_affinity_rule):

    rule_id = self._anti_affinity_rule_to_anti_affinity_rule_id(anti_affinity_rule)
    result = self.connection.request_with_orgId_api_1(('antiAffinityRule/%s?delete' % rule_id), method='GET').object
    response_code = findtext(result, 'result', GENERAL_NS)
    return (response_code in ['IN_PROGRESS', 'SUCCESS'])
