answered question
In the case of glass rod, electrons are loosely bounded compared to silk cloth .hence it loses electrons &get positive charge.compared to ebonite rod, electrons are loosely bounded in woollen cloth.hence electrons are transferred from woollen cloth to ebonite rod & ebonite gets negative charge.