BMW tailgate small rust spots

When changing the license plate holder on the tailgate, I unfortunately found that there are small rust spots underneath. How would you do that? The BMW is built in 2009 of course would like to drive it as long as it is possible, I love the car.