Anaerobic-filter pretreatment kinetics