Zend certified PHP/Magento developer

How to edit ufw configuration files?

Where can I learn the syntax and options available in ufw configuration files such as /etc/ufw/before.rules? I have searched the ufw manual, ufw wiki, and on DuckDuckGo and nowhere have I been able to find documentation for this.