rewrite values match in Rewrite module.