def rule(event):
    if any(
        [
            ":\\Windows\\apppatch\\Custom\\" in event.deep_get("TargetFilename", default=""),
            ":\\Windows\\apppatch\\CustomSDB\\" in event.deep_get("TargetFilename", default=""),
        ]
    ):
        return True
    return False
