Added rule numbers to printouts