The doctor said to rest, use ice, and elevate my leg. But what does the c in rice stand for?

Compression. The c in rice stands for compression elastic bandages. Everything else has already been explained. All these things are to prevent serious complications from cots and to treat the calf pain.