Code:
#!./simc
warlock="Warlock_Destruction_T15H"
level=90
race=orc
spec=destruction
role=spell
position=back
professions=engineering=600/enchanting=600
talents=http://us.battle.net/wow/en/tool/talent-calculator#Vb!..0.0.
glyphs=conflagrate
# This default action priority list is automatically created based on your character.
# It is a attempt to provide you with a action list that is both simple and practicable,
# while resulting in a meaningful and good simulation. It may not result in the absolutely highest possible dps.
# Feel free to edit, adapt and improve it to your own needs.
# SimulationCraft is always looking for updates and improvements to the default action lists.
actions.precombat=flask,type=warm_sun
actions.precombat+=/food,type=mogu_fish_stew
actions.precombat+=/dark_intent,if=!aura.spell_power_multiplier.up
actions.precombat+=/summon_pet
actions.precombat+=/snapshot_stats
actions.precombat+=/jade_serpent_potion
actions=curse_of_the_elements,if=debuff.magic_vulnerability.down
actions+=/use_item,name=gloves_of_the_thousandfold_hells
actions+=/jade_serpent_potion,if=buff.bloodlust.react|target.health.pct<=20
actions+=/blood_fury
actions+=/dark_soul
actions+=/service_pet,if=talent.grimoire_of_service.enabled
actions+=/grimoire_of_sacrifice,if=talent.grimoire_of_sacrifice.enabled
actions+=/summon_pet,if=talent.grimoire_of_sacrifice.enabled&buff.grimoire_of_sacrifice.down
actions+=/run_action_list,name=aoe,if=active_enemies>3
actions+=/summon_doomguard
actions+=/rain_of_fire,if=!ticking&!in_flight&active_enemies>1
actions+=/havoc,target=2,if=active_enemies>1
actions+=/shadowburn,if=ember_react
actions+=/immolate,cycle_targets=1,if=ticks_remain<add_ticks%2&target.time_to_die>=5&miss_react
actions+=/chaos_bolt,if=ember_react&(buff.backdraft.stack<3|level<86)&(burning_ember>3.5|buff.dark_soul.remains>cast_time|buff.skull_banner.remains>cast_time)&(mana.pct<=75|(buff.havoc.stack>=3&buff.havoc.remains>cast_time))
actions+=/conflagrate
actions+=/rain_of_fire,if=!ticking&!in_flight&mana.pct>=50
actions+=/incinerate
actions.aoe=summon_infernal
actions.aoe+=/rain_of_fire,if=!ticking&!in_flight
actions.aoe+=/havoc,target=2,if=burning_ember>=3.5&ember_react&target.health.pct<=20
actions.aoe+=/shadowburn,if=burning_ember>=3.5&ember_react&buff.havoc.stack>=1
actions.aoe+=/fire_and_brimstone,if=ember_react&buff.fire_and_brimstone.down
actions.aoe+=/immolate,if=buff.fire_and_brimstone.up&!ticking
actions.aoe+=/conflagrate,if=buff.fire_and_brimstone.up
actions.aoe+=/incinerate,if=buff.fire_and_brimstone.up
actions.aoe+=/immolate,cycle_targets=1,if=!ticking
head=hood_of_the_thousandfold_hells,id=96726,gems=burning_primal_80int_160mastery_180crit,reforge=hit_mastery
neck=necklace_of_the_terracotta_invoker,id=96708,gems=160int_60hit,reforge=hit_mastery
shoulders=mantle_of_the_thousandfold_hells,id=96729,gems=160int_80int_160mastery_120haste,enchant=200int_100crit,reforge=haste_mastery
back=deadly_glare_cape,id=96485,gems=160int_60int,enchant=180int,reforge=haste_mastery
chest=robes_of_the_thousandfold_hells,id=96728,gems=160int_80int_160mastery_80int_160hit_180int,enchant=80all,reforge=hit_crit
wrists=azure_shell_bracers,id=96432,enchant=170int,reforge=crit_hit
hands=gloves_of_the_thousandfold_hells,id=96725,gems=160int_60int,enchant=170mastery,addon=synapse_springs_mark_ii
waist=abandoned_zandalari_firecord,id=96705,gems=80int_160hit_60int,reforge=hit_mastery
legs=leggings_of_pulsing_blood,id=96483,gems=80int_160hit_80int_160hit_120int,enchant=285int_165crit
feet=sandals_of_arcane_fury,id=96450,gems=80int_160mastery_60hit,enchant=140mastery,reforge=crit_mastery
finger1=roshaks_remembrance,id=96529,gems=80int_160hit_60haste,enchant=160int
finger2=jinrokhs_dreamshard,id=96382,enchant=160int,reforge=hit_mastery
trinket1=essence_of_terror,id=87175,upgrade=6
trinket2=relic_of_yulon,id=79331,upgrade=6
main_hand=nadagasts_exsanguinator,id=96610,gems=80int_160mastery_60int,enchant=jade_spirit,reforge=hit_mastery
off_hand=fetish_of_the_hydra,id=96454,gems=80int_160hit_60int,enchant=165int,reforge=hit_mastery
default_pet=felhunter
# Supremacy
copy=Observer,Warlock_Destruction_T15H
copy=Voidlord,Warlock_Destruction_T15H
default_pet=voidwalker
copy=Shivarra,Warlock_Destruction_T15H
default_pet=succubus
copy=Fel_Imp,Warlock_Destruction_T15H
default_pet=imp
# Service
copy=Felhunter,Warlock_Destruction_T15H
talents=http://us.battle.net/wow/en/tool/talent-calculator#Vb!..0.1.
copy=Voidwalker,Warlock_Destruction_T15H
talents=http://us.battle.net/wow/en/tool/talent-calculator#Vb!..0.1.
default_pet=voidwalker
copy=Succubus,Warlock_Destruction_T15H
talents=http://us.battle.net/wow/en/tool/talent-calculator#Vb!..0.1.
default_pet=succubus
copy=Imp,Warlock_Destruction_T15H
talents=http://us.battle.net/wow/en/tool/talent-calculator#Vb!..0.1.
default_pet=imp
# Sacrifice
copy=Sacrifice,Warlock_Destruction_T15H
talents=http://us.battle.net/wow/en/tool/talent-calculator#Vb!..0.2.