Add optional hitcounters to rule statements