Improve handling of quadrature rule options