def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("/tmutil"),
                    "tmutil" in event.deep_get("CommandLine", default=""),
                ]
            ),
            "delete" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
