First, put ice in a plastic baggie, make the wax as cold as possible, and then try removing it.
If that doesn't work, take a warm iron (not hot, you don't want to damage the rug) and using a blotting paper, warm the wax so it melts into the paper.
Good Luck!
Dodgeman