Substitution rate control as a function of the ultrafiltration rate