Stopped raining and got my tyre fixed

Today it isn’t raining but still cloudy. I took the wheel off the car and pumped it up (at my neighbour’s who has a compressor) and I found that the air is leaking out of the side of the rim. This is because the roads here are so bad the rims really get bashed around. Anyway I gave it a few thumps with a hammer but that didn’t stop the air leaking, so I took it a type repair place in the nearby town. The guy fixed it, he said the problem was that there was rust and dirt trapped between the rim and the tyre. All fixed now… All I need to do is take the spare off the car and put this one back.