Hi Tom,
With 2.7.9 this is fixed for good - not just the specific case, but the root cause: HTProtect now recalculates before every save and offloads as much as needed to make sure there's enough space. So even if your settings keep growing, this won't happen again.
Your site will clean itself up the next time you save, with all settings and rules staying intact.
Thanks again for reporting this!