The best rule of thumb is to use no more than 20 keywords per ad group. Sometimes you can get away with using a few more, but exceeding a 20 keyword limit is a sign that your ad copy isn't matching the keyword being searched as closely as it could.