/usr/share/ufw/before.rules is in ufw 0.35-5.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/ufw/iptables/before.rules
/usr/share/ufw/iptables/before.rules