Fix index for left recursion rules.