In general, if is a single non-terminal, and , and are strings of terminals or non- terminals, then a production rule of the form: can be left-factored into two rules of the form:
where is some new non-terminal.