Rewrites for keeping rank