IRewritable support for rewriting vectors