There is a simple solution..sort of.
First things first:
1) You must be using the f22's engine harness attached to the prelude engine with
2) You must have an OBD-1 ecu - P13
So you have to remove the h22's harness and add the a) vtec solenoid plug, B) vtec pressure switch, c) extend the f22's oil pressure switch, d) knock sensor to the f22's harness (if you wanna make it pretty).
Next, get a set of obd-1 h22 injectors or rewire...
Now you either have the option of rewiring the f22's distributor plugs to match up with the crank switch on the the crank... or make it hell of easy and get an obd1 h22 distributor.
Be forewarned that if your engine had an external coil, you have to jump the external coil plug for a jdm internal coil distributor to work.
Only JDM distributors are internal coils. USDM and (maybe) EDM distributors are external coils.
Once you have that done it should be smooth sailing.