I believe TextMate has a mode where if you start typing, the same thing will be entered on all the lines you've selected. Is there something similar to this in Emacs?
I'm guessing there's a way rectangles can help me, but I'm not sure how...
It's as simple as this: C-x r t. Some examples are here.
C-x r t