def initialize(self, cfn):
    'Initialize the rule'
    for resource_type_spec in RESOURCE_SPECS.get(cfn.regions[0]).get('ResourceTypes'):
        self.resource_property_types.append(resource_type_spec)
    for property_type_spec in RESOURCE_SPECS.get(cfn.regions[0]).get('PropertyTypes'):
        self.resource_sub_property_types.append(property_type_spec)
Initialize the rule
def initialize(self, cfn):
    
    for resource_type_spec in RESOURCE_SPECS.get(cfn.regions[0]).get('ResourceTypes'):
        self.resource_property_types.append(resource_type_spec)
    for property_type_spec in RESOURCE_SPECS.get(cfn.regions[0]).get('PropertyTypes'):
        self.resource_sub_property_types.append(property_type_spec)