Expand all non-terminals