For a Language grammar G, where G = (S, V, N, P),
Production Rules P are of the form as follow
A -> BC
A -> a
where A, B, C are nonterminal and a is terminal.
example
S -> ABa
A -> aab
B -> Ac
S -> AB(B_a)
A -> (B_a)(B_a)(B_b)
B -> A(B_c)
S -> AD
D -> B(B_a)
E -> (B_a)(B_b)
A -> (B_a)E
B -> A(B_c)