Explanation :
When a glass rod is rubbed with a piece of silk the glass rod becomes positively charged. The charge appears due to the friction. On rubbing the electrons from glass gets transferred to silk cloth.
We know that the element that loses electron is positively charged and the element which gains an electron is negatively charged. Thats why the glass rod is positively charged.
Hence, this is the required explanation.