The generation process is guided by a CFG over target trees, which is constructed by taking all production rules extracted from the trees of all sentences in the training corpus.
a rule RNN first generates the top of the tree structure, and continues until a preterminal is reached.