added rewriteMaps to xml scheme