'Checks if the local rule data matches AWS'

def _rule_matches_aws(self):

    aws_rule_data = self.rule.describe()
    return all([(getattr(self.rule, field) == aws_rule_data.get(field, None)) for field in self.RULE_FIELDS])
