verify_rule: correctly set ipversion for aliases