In rare cases some rims will melt but most will not. I have boiled several rims with no problems.
You can also bake them but it will stink up the house and have more of a chance to melt the rims or make them to soft so when you take them out they bend.