The bolt pattern is correct, however you also need to know the width and offset (or back spacing) and what size tire you want to run.
What is the diameter/size of the tires on the stock rims in the above picture? They look bigger than stock...
You can go 22's (or bigger even) but at stock ~28" diameter, there's very little sidewall left for things like bumps, pot holes, etc. Ride comfort will be reduced (though there's a lot to give on these wagons

).
If you plan to run all 4 tires/rims the same size, then the front is the main concern. Anything that fits on the front will fit on the back.
I've put 20 x 9 with 0mm offset on my RMW with 255/55/20 tires (31" diameter), but had to do some modifications to make them clear on the front (and it's still not 100% clearance at all possible steering/suspension combinations) as well as a ~1" body lift.
A 20x8 or 8.5" (also with 0 or a bit of + offset) would have been a lot better.
If you're going to daily drive this the recommendations will be different than if it's just a weekend cruiser or whatever. Also, think of the spare and cost of the tires/availability of tires in whatever size you pick. If it's your only car - pick something common that tire stores stock so when you damage the sidewall in a pothole, you're not down for days waiting for an oddball tire size to come in. Similar for winter tires/all season vs summer only.