When a glass rod is rubbed with a piece of silk cloth, then:

After rubbing the glass rod with silk cloth, the glass rod becomes positively charged. The silk cloth becomes negatively charged. The electric charges generated by rubbing are static electric charges. These electric charges remain bound on the surface of the charged object.