static final boolean DEBUG = false;
public FilterConfusingRules(LexicalizedParser parser) {
BinaryGrammar binaryGrammar = parser.bg;
UnaryGrammar unaryGrammar = parser.ug;
Options op = parser.getOp();
Index<String> stateIndex = parser.stateIndex;
for (UnaryRule unaryRule : unaryGrammar) {
// only make one matrix for each parent state, and only use the