I'm not sure how much detail you are looking for, but I'll take a stab at a more complicated, and more accurate Ele shaman one.
If Flame Shock DoT is not on target, cast Flame Shock
If Flame Shock DoT is on target with > Lava Burst cast time remaining, cast Lava Burst, else refresh Flame Shock
If < Lightning Bolt cast time remains on Lava Burst cooldown, cast Chain Lightning
else Lightning Bolt.