The rule is that you don’t capitalize prepositions (“of”, “in”, etc.), conjunctions (“and”, “but”, “or”, etc.), or articles (“the”, “a”, “an”). There might be a couple odd cases but those should be enough to keep you out of trouble with the people that get mad about Oxford commas. :-)