def rule(event):
    if all(
        [
            not "\\" in event.deep_get("Image", default=""),
            not any(
                [
                    event.deep_get("Image", default="") == "",
                    event.deep_get("Image", default="") in ["-", ""],
                    any(
                        [
                            event.deep_get("Image", default="")
                            in ["System", "Registry", "MemCompression", "vmmem"],
                            event.deep_get("CommandLine", default="")
                            in ["Registry", "MemCompression", "vmmem"],
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
