Rewrite ranks generation