Add ability to to define rules that stop the format listener