I think there is an error in the schematic, the line from the rectifier shouldn't be connected to the junction of the 22 K and the capacitor, but (probvably through a 1 M. resistor), to the gate of the FET.
Also the 4n7 at the non-inverting OpAmp doesn't seem a good idea.
And there should be a capacitor between the rectifier circuit and the gate of the FET (to hold the rectified DC) , probably with attack/release resistors.