Extended filter rules and replaces RegExp by SubStr rules if possible