[ADD] help for regexp match and function replacement
[IMP][FIX] process rules when they are saved/loaded ; escape text matches so they can be used as regexps