Replacing multiple spokes (9/36): more like replacing spokes or rebuilding a wheel?
If a wheel starts breaking spokes, the general advice is to have the wheel rebuilt with all new spokes, because all the spokes are likely weakened by fatigue and will keep breaking.

In your case, spokes broke because they were damaged. The other spokes are presumably not weakened, so you can just replace the damaged ones.

Of course, if the wheel has a lot of miles on it you may elect to rebuild.