b18c5 trouble shooting

ok so my eg hatch is having some running problems. i have a b18c5 and theres about 40psi on the fuel pressure and i believe that the filter is clogged with a whole bunch of junk. another problem is that my car has a problem where it decides to start revving high on rpm when at low speed and low gear. this really concerns me cause my car is boosted and it kicks in when it shouldn't. I've checked mapping sensors and idk what else to look at.
so to get to the point i was wondering if anyone knew why this is happening and if anyones had a similar problem? and what they did to solve it? thanks
so to get to the point i was wondering if anyone knew why this is happening and if anyones had a similar problem? and what they did to solve it? thanks