In upnp config, each rule requires an ip parameter. This parameter is actually a prefix list (eg, ip/mask) instead of a single address. https://github.com/vyos/vyos-1x/blob/current/data/templates/firewall/upnpd.conf.j2#L137
But this parameter is defined as a single IP (https://github.com/vyos/vyos-1x/blob/current/interface-definitions/service-upnp.xml.in#L203) which makes the rules section not very useful. Should be an easy task to change this to be a prefix list.