add gen rule expressions support.