Otherwise one can use a "null rule" which has the form of the above quadrature rule, but whose value would be zero for a simple integrand (for example, if the integrand were a polynomial of the appropriate degree).
Alternatively, one could apply a "null rule," which has the same format as the given quadrature method but gives zero when applied to straightforward integrands (for example, if the integrand is a polynomial of the appropriate degree).