def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\notepad.exe"),
            not event.deep_get("DestinationPort", default="") == 9100,
        ]
    ):
        return True
    return False
