def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 4662,
            event.deep_get("ObjectServer", default="") == "DS",
            event.deep_get("AccessMask", default="") == "0x40000",
            event.deep_get("ObjectType", default="")
            in ["19195a5b-6da0-11d0-afd3-00c04fd930c9", "domainDNS"],
        ]
    ):
        return True
    return False
