def rule(event):
    if all(
        [
            event.deep_get("verb", default="") == "create",
            event.deep_get("apiGroup", default="") == "authorization.k8s.io",
            event.deep_get("objectRef", "resource", default="") == "selfsubjectrulesreviews",
        ]
    ):
        return True
    return False
