Yes, you will lose all configuration. This is by design and definitely needed due to the changes in the underlying OS.
Screenshot your firewall rules and build them again after your upgrade is the most easiest way.