1. A computer-implemented method comprising: receiving an abstract rule having (i) a conditional statement and (ii) a consequential statement defining a particular result returned by the abstract rule based on an evaluation of the conditional statement and input data supplied to the abstract rule; receiving a set of query results comprising a plurality of data records, each including a set of input data to be supplied to the abstract rule; prior to processing the abstract rule against each of the sets of input data included in the plurality of data records, determining whether the sets of input data satisfy input criteria associated with the abstract rule, wherein the input criteria specify one or more requirements to constitute statistical validity of input data supplied to the abstract rule; upon determining that the input criteria associated with the abstract rule are satisfied, processing the abstract rule against each of the sets of input data and setting, as an output of the abstract rule, a result returned by the abstract rule for each of the sets of input data; and storing the output of the abstract rule.