def compliance_rules_for_shipment(shipment_key)
      shipment = shipment_compliance_rules.select { |s| s[:key] == shipment_key }.first
      ShipmentCompliance.new(shipment)
    end
def compliance_rules_for_shipment(shipment_key)
      shipment = shipment_compliance_rules.select { |s| s[:key] == shipment_key }.first
      ShipmentCompliance.new(shipment)
    end
Finds all the compliance rules for a shipment.
 Returns an instance of ShipmentCompliance.

  shipment_compliance = compliance_result.compliance_rules_for_shipment('SHIPMENT-KEY')
  puts shipment_compliance.compliant? #=> false