fixed problem where it would generate unnecessary rules
 http://www.puzzlescript.net/editor.html?hack=6969747