What is the function of Resistance in Rectifier?