Click the folder name to open the folder. Once it's open, click Rename at the top of the list of messages, just to the right of the folder name. This is also the spot to Delete the folder, if you want.