private void createRule(LiSymbol left, AstRule right, List<LiSymbolRef> rightPart) {
List<AstRuleSymbol> list = right.getList();
rightPart.clear();
if(list != null) {
for(AstRuleSymbol rs : list) {
AstCode astCode = rs.getCode();
if(astCode != null) {
LiSymbol codeSym = new LiSymbol("{}", null, false, astCode);
symbols.add(codeSym);
rightPart.add(new LiSymbolRef(codeSym, null, null, null));
rules.add(new LiRule(codeSym, null, convert(astCode), null, null, astCode));