For a lot of classes/spec's, you can visit www.maxdps.com

At the top right you can enter your realm and toon name.
And it will armory you for your stats.
Either that or manually enter them in, although there are a lot of them.

Even if you have it retrieve everything for you, configure which buffs you will have.
In a boxed group, pick the buffs your group gives.
In a raid, pick the buffs the raid provides.
By default it won't have the correct buff types like Earth & Moon or whatever, not just MotW etc.

Then it will calculate which spells to do, in what order and how many times, based on how much damage they do with everything taken into consideration for your toon.
Their rotation is a suggestion, but its a place to start when building your own rotations.