Fix rule/lookahead set generation