see attached drl.
running it with the following inputs will cause the only rule in there to infinitely loop.
bankruptcychapternumbert=null
bankruptcychapternumberm=null
all other values are not set.
yet removing some of the never used variables from the drl seems to solve this.
on the other hand, adding variables of certain names will have the same effect, while other will not.
see comments within the drl as to which lines should be added removed to make it run as expected\loop.