So do you fill up thru the brass part or does the waste come thru it ?
Sorry, should have been a bit more specific. That pipe that is attached to the solenoid valve is the mains water inlet. The water then goes through the two prefilters (blue plastic) and out the other side. It then goes to the membrane inlet (white horizontal) at the end where there is only one hole. At the other end of the membrane housing there are two holes. As Spruce said, the centre one is the pure, the pipe from this goes to the resin bottle (blue cylinder with the black cap). There will be arrows on the cap to show which way the water flows. The outlet to the side of the membrane housing (same end as the pure) is the waste. This goes to a convenient drain somewhere but as Spruce pointed out you need a method of restricting the waste flow to allow for adjusting the 'pure to waste' ratio.
The solenoid valve is electric - it was probably part of an automatic shut off system - you could simply take it off and attach the mains water pipe direct to the filter housing, then when you want to run it you just turn the tap on.
The waste restrictor is easiest if you look on RO-man's site at their 40-40. You need to put a divider in the waste pipe (splits one pipe into two) then in each of the two pipes you fit a quarter turn valve. After that you fit another divider to take the two pipes back into one. Now you can close one valve and adjust the other until you have the correct ratio - probably two parts waste to one part pure. The you leave this valve alone. The other valve is closed to produce pure water and open to allow all the water to run to waste to flush the membrane.
Hope this helps,
Ian