Problem with stored rims

I got the following rim back from my tire storage. Looks like there’s something burned in it. Do you get rid of something like that again? If yes, with what? Thank you for tips! Steffen