what is a meaning of rewriting