var doc = app.activeDocument;  
var layer = doc.activeLayer;
var sel = doc.selection;  
for(var i = 0; i < sel.length; i++){ 
              doc.symbols.add( sel[i] );
              redraw();  
    }