def rule(event):
    if event.deep_get("properties", "message", default="") in [
        "Remove eligible member (permanent)",
        "Remove eligible member (eligible)",
    ]:
        return True
    return False
