Unless the invite specifies casual attire, avoid wearing jeans to a rehearsal dinner. This is one of the most important events leading up to the wedding, so you want to ensure you dress appropriately.