Here is what I did.
On the relay:
#30 blue- 12v+
#85 red- 12v+
#86 yel- come from the switch included with the light kit
#87 blk- goes to the hellas
Green to switch connects to high beams for driving lights, low beams for fogs. This is where it gets tricky.
On the Forester, the high beam wire at the socket is RED.
On the RS, high beam wire is yellow w/ blu stripe.
In theory, to test wiring; (and I could be wrong on this)
Remove headlight socket
turn on lights
There should be 12v between one terminal and the frame of the car/engine block. That would be your constant 12v+.
turn on high beams, for driving light wiring (or low if your wiring fogs)
now you should have 12v between the first terminal and one of the other two in the socket. connect the green wire from the Hella harness to that terminal.
test everything before you put it all together neatly to be sure you're getting the desired results.