def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("/dsenableroot"),
            not " -d " in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
