add a replace rule

add a replace rule