def rule(event):
    if all(
        [
            event.deep_get("type", default="") == "EXECVE",
            event.deep_get("a0", default="") == "xclip",
            event.deep_get("a1", default="") in ["-selection", "-sel"],
            event.deep_get("a2", default="") in ["clipboard", "clip"],
            event.deep_get("a3", default="") == "-o",
        ]
    ):
        return True
    return False
