bug in debugRulings