Parts of Speech for Rewrite
re·write
R r Gramatical Hierarchy
Grammatically "Rewrite" is a noun, to be more precise even a transitive verb. But also it is used as a verb, specifically a transitive verb. Part of speech depends on meaning of this word.
All about rewrite Download all about rewrite in pdf