def rule(event):
    if any(
        [
            all(
                [
                    "Move-Item" in event.deep_get("ScriptBlockText", default=""),
                    "Cert:\\LocalMachine\\Root" in event.deep_get("ScriptBlockText", default=""),
                ]
            ),
            all(
                [
                    "Import-Certificate" in event.deep_get("ScriptBlockText", default=""),
                    "Cert:\\LocalMachine\\Root" in event.deep_get("ScriptBlockText", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
