I got a cheap laser cutter not too long ago, and ejection baffles are one of the main things I cut with it. What I've found is, while there's no hard/fast 'rule of thumb' to dictate the design, there are basically 2 limiting factors:
1) The amount of resistance it creates inside the tube needs to be minimized.
Too much resistance is bad for a multitude of reasons, but the simplest are that it's less rearward force on the motor / less stress on the retention, and it allows the ejecta to leave the body tube more quickly, which cools it off more quickly, and reduces the likelihood of burnt/torched/damaged body tubes, shock cords, laundry, etc.
2) The ability of the baffle to redirect the hot particles so they are not impacting the parachute directly.
What I've found is that a simple zig-zag design is usually the easiest. On higher-powered rockets, I add a small brace across the center of the open area to allow for some strength. My strongest design yet is on my 38mm 3" Crossfire ISX upscale....it's simple zig-zag plates with 1/4" holes in the middle, with a 1/4" x 3" eye bolt through the center of them all. Each plate is actually 2 1/8" pieces glued together to make 1/4" pieces.
Side note, I always treat the side of the baffles that face the ejection charge with a thin layer of JB weld. Might be overkill but it makes me feel better.