How to cast off in rib stitch?

I have a k2 p2 rib and directions say to cast off in rib. I have never done this. Can someone please explain. Thanks a bunch.

Here is the link to a previous discussion of this. http://www.knittinghelp.com/forum/showthread.php?t=73488