Some of those scratches are pretty deep. It's likely some of them will be there even if you sand the rim with gritty sand paper. Perhaps just use a metal polish with a heavy cutting compound and a buffer wheel to get out the minor scratches and live with the deeper ones.