code: def get_rule_id_from_name(self, name):
          
          results = self.client.call('SoftLayer_Virtual_PlacementGroup_Rule', 'getAllObjects')
          return [result['id'] for result in results if result['keyName'] == name.upper()]
docs: Finds the rule that matches name.
  
          SoftLayer_Virtual_PlacementGroup_Rule.getAllObjects doesn't support objectFilters.