You probably made an error in your policy file when you added the new policy.
Check the the changes that you’ve made.
You can also run this command in dom0:
journalctl -f -n0
And try to update the template, then check the log in dom0 to see if there are any policy errors.