add regex_rule
update text tools