def METHOD_NAME(self):
    session_factory = self.replay_flight_data("test_config_rule_delete")
    p = self.load_policy(
        {
            "name": "rule",
            "resource": "config-rule",
            "filters": [
                {"type": "value", "key": "ConfigRuleName",
                 "value": "^custodian-db-", "op": "regex"},
                {"tag:Environment": "sandbox"}
            ],
            "actions": ["delete"],
        },
        session_factory=session_factory,
    )
    resources = p.run()
    self.assertEqual(len(resources), 1)
    cr = resources.pop()
    client = session_factory().client("config")
    rules = client.describe_config_rules(
        ConfigRuleNames=[cr["ConfigRuleName"]]
    ).get(
        "ConfigRules", []
    )
    self.assertEqual(rules[0]["ConfigRuleState"], "DELETING")