I'm not sure you really want Sonar to make drum tracks for you automatically. Drummers have very specific things to do in most songs that have to do with understanding the phrasing, chord progression, melody and various important parts of a song or composition. Sonar is not really designed to make great use of these things as automation.
With that in mind, there are a few techniques towards creating a good start...
1. Make sure your meter is set correctly.
2. Make a few "sample" bar patterns that work well together and convert them to groove loops.
3. Stick with one drum synth and sound (kit) to begin with until you have a solid line.
4. Do your best to keep the drum lines mathematically metrical until you have really solid parts.
5. Use the MIDI filter to copy individual drum parts to other parts, i.e. move the high hat to the ride.
... once you have good loops, it is a good idea to replace them with copied (non-loop) parts so you
can modify individual hits, fills, flams and crashes. Be careful about your cursor placement and quantize
settings as they can modify great lines into aweful parts (this isn't a Sonar problem; all sequencer programs
do this).
Personally, I use a lot of techniques to get great drum lines in Sonar, Pro Tools, Nuendo and Finale. Some
are very time consuming. Depending upon the style, I usually imagine I am performing the drum parts and
imagine the physical things I would do on an actual percussion instrument kit(s).
I hope this is helpful,
Tom