The rewrite processor take a parsed query and makes it into a set of commands that can be sequentially executed.