Update and cleanup quadrature rules.