I did not observe any incorrect behaviour that would deviate from the standard execution paths (classed as a bug). I did not attempt to export HIPS rules (which is a very infamous one
@Pico mentions).
I don’t think that fixing this bug would require product rewriting. All that’s necessary to do is, Comodo needs to write 2 functions (Rules to Json, Json to rules). They can use one of the many JSON parsers available, or they can even make use of a JavaScript based engine (which natively loves JSON).
In programming, a bug rarely needs a full rewrite and design change.
If the rules are getting deleted after export (or whatever the problem is), then there is some sort of corruption or very wrong logic. Fixing the bug would require no more than 1 hour.
If it can’t be fixed easily, Comodo can export the rules in temp folder as well, if they are afraid to put them in an array list (in addition to where user exported), and reimport them. Again that’s one hour of work.