def rule(event):
    if all(
        [
            "osacompile" in event.deep_get("CommandLine", default=""),
            "curl" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
