def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 5136,
            event.deep_get("ObjectClass", default="") == "groupPolicyContainer",
            any(
                [
                    event.deep_get("ObjectDN", default="").startswith(
                        "CN={31B2F340-016D-11D2-945F-00C04FB984F9},CN=POLICIES,CN=SYSTEM"
                    ),
                    event.deep_get("ObjectDN", default="").startswith(
                        "CN={6AC1786C-016F-11D2-945F-00C04FB984F9},CN=POLICIES,CN=SYSTEM"
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
