def rule(event):
    if all(
        [
            any(
                [
                    " -n " in event.deep_get("CommandLine", default=""),
                    " /n " in event.deep_get("CommandLine", default=""),
                    " –n " in event.deep_get("CommandLine", default=""),
                    " —n " in event.deep_get("CommandLine", default=""),
                    " ―n " in event.deep_get("CommandLine", default=""),
                ]
            ),
            "Nul" in event.deep_get("CommandLine", default=""),
            any(
                [
                    any(
                        [
                            " -f " in event.deep_get("CommandLine", default=""),
                            " /f " in event.deep_get("CommandLine", default=""),
                            " –f " in event.deep_get("CommandLine", default=""),
                            " —f " in event.deep_get("CommandLine", default=""),
                            " ―f " in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                    any(
                        [
                            " -q " in event.deep_get("CommandLine", default=""),
                            " /q " in event.deep_get("CommandLine", default=""),
                            " –q " in event.deep_get("CommandLine", default=""),
                            " —q " in event.deep_get("CommandLine", default=""),
                            " ―q " in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                ]
            ),
            "ping" in event.deep_get("CommandLine", default=""),
            "del " in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
