This is my 98 Legacy GX:
It's a manual 2.5L. The engine is a EJ25D if I'm right.
So far the only thing I changed on it is the fuel pump, for one with higher flow. Makes a lot of difference in higher revs.
Next thing probably is going to be an intake.