docs: private void flushRule() {
          for ( SourceBuilder src : sourceBuilders ) {
              if ( src.hasValues() ) {
                  switch ( src.getActionTypeCode() ) {
                      case CONDITION:
                          Condition cond = new Condition();
                          cond.setSnippet( src.getResult() );
                          _currentRule.addCondition( cond );
                          break;
                      case ACTION:
                          Consequence cons = new Consequence();
                          cons.setSnippet( src.getResult() );
                          _currentRule.addConsequence( cons );
                          break;
                      case METADATA:
                          _currentRule.addMetadata( src.getResult() );
                          break;
                  }
                  src.clearValues();
              }
          }
  
      }