function rule_applicable(word, pos, consumed, rule) { for(let i=0; i