def rule(event):
    if any(
        [
            event.deep_get("Image", default="").endswith("\\SharpEvtMute.exe"),
            event.deep_get("Description", default="") == "SharpEvtMute",
            any(
                [
                    '--Filter "rule ' in event.deep_get("CommandLine", default=""),
                    '--Encoded --Filter \\"' in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
