add summary statistics to rules