cosmetic_changes.py includes many custom algorithms to alter the page content, which is a similar concept to the fixes defined in fixes.py and performed in replace.py.
The replace.py 'fixes' logic and data can be merged into the cosmetic changes system, and integrated into the core library.
This eliminates the overlapping rules which appear in both fixes.py and cosmetic_changes.py, and will allow the bot operator more granular control over cosmetic changes applied on page save.