Added more rule counting and printing
Temp changes to fix compile errors