No, solvents do not damage wool - remember, the preferred recommendation for many wool garments is dry cleaning. But the solvent CAN affect the carpet (or rug) backing - so use it sparingly.
Do be careful with dry cleaning solvents in other respects: always use them where there is plenty of fresh air ventilation and do not expose them to any naked flames, or other heat sources such as lighted cigarettes or heated hobs.