def rule(event):
    if all(
        [
            "\\SYSTEM\\CurrentControlSet\\Control\\ContentIndex\\Language\\"
            in event.deep_get("TargetObject", default=""),
            any(
                [
                    "\\StemmerDLLPathOverride" in event.deep_get("TargetObject", default=""),
                    "\\WBDLLPathOverride" in event.deep_get("TargetObject", default=""),
                    "\\StemmerClass" in event.deep_get("TargetObject", default=""),
                    "\\WBreakerClass" in event.deep_get("TargetObject", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
