I like to use rectangle for 2 main purposes, inserting the same text on every line, or killing a column of text (similar to Dave Webb's answer).
There are 2 useful shortcuts for these, "C-x r k" will kill a rectangle, and "C-x r t" to insert (there are other rectangle commands with a "C-x r" prefix, but these are the ones I use).
So let's say you want to take some code and format it so that you can post it in a Stack Overflow post... you need to prefix with 4 spaces. So, go to the beginning of the first line, C-SPACE to mark, then go to the beginning of the last line and C-x r t RETURN SPACE SPACE SPACE SPACE RETURN, and there you have it! Then you can just copy and paste it into Stack Overflow. I have run into more complex situations where this is useful, where you actually have text you want to insert on every line at a particular place.
So the other situation like Dave Webb's situation, if you want to kill a rectangle, use C-x r k though, because it's just a lot quicker ;-)
Also, according to my reference card that I printed out when I first started, you can do the following:
- C-x r r: copy to a register
- C-x r y: yank a rectangle
- C-x r o: open a rectangle, shifting text right (whatever that means...)
- C-x r c: blank out a rectangle (I assume that means replace it with spaces, but you'd have to try it out to see)
- C-x r t: prefix with text (as described above)
- C-x r k: killing (as described above)