There are no hard and fast rules about commas, though people always try to say there are. No matter what you do, you will always offend or annoy somebody. One method that usually works is to just say the sentence and listen for where the natural spaces are.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.