I tried to apply firewall settings to a wireguard interface, but discovered that the firewall option subtree was missing.
A typo in firewall template generator seems to be a likely culprit.
Pull request created at https://github.com/vyos/vyatta-cfg-firewall/pull/15.
Thanks
Paweł