I'm saying this should be `self.newf = self.newf.rewrite(candidates, rule)`. Never modify `self.f`. See the docstring of this method.