We can represent this as is the rule, and is the index saying where in the right hand side it occurs.
this means that optimising the likelihood of the model may not lead you to a linguistically plausible grammar.