Minor backrule generating algorythm change.