Code:
rogue="Rogue_Combat_T17M"
level=100
race=blood_elf
role=attack
position=back
talents=3000033
glyphs=energy/disappearance
spec=combat
# Executed before combat begins. Accepts non-harmful actions only.
actions.precombat=flask,type=greater_draenic_agility_flask
actions.precombat+=/food,type=frosty_stew
actions.precombat+=/apply_poison,lethal=deadly
actions.precombat+=/snapshot_stats
actions.precombat+=/potion,name=draenic_agility
actions.precombat+=/stealth
actions.precombat+=/marked_for_death
actions.precombat+=/slice_and_dice,if=talent.marked_for_death.enabled
# Executed every time the actor is available.
actions=potion,name=draenic_agility,if=buff.bloodlust.react|target.time_to_die<40|(buff.adrenaline_rush.up&(trinket.proc.any.react|trinket.stacking_proc.any.react|buff.archmages_greater_incandescence_agi.react))
actions+=/kick
actions+=/preparation,if=!buff.vanish.up&cooldown.vanish.remains>30
actions+=/use_item,slot=trinket2
actions+=/blood_fury
actions+=/berserking
actions+=/arcane_torrent,if=energy<60
actions+=/blade_flurry,if=(active_enemies>=2&!buff.blade_flurry.up)|(active_enemies<2&buff.blade_flurry.up)
actions+=/shadow_reflection,if=(cooldown.killing_spree.remains<10&combo_points>3)|buff.adrenaline_rush.up
actions+=/ambush
actions+=/vanish,if=time>10&(combo_points<3|(talent.anticipation.enabled&anticipation_charges<3)|(combo_points<4|(talent.anticipation.enabled&anticipation_charges<4)))&((talent.shadow_focus.enabled&buff.adrenaline_rush.down&energy<90&energy>=15)|(talent.subterfuge.enabled&energy>=90)|(!talent.shadow_focus.enabled&!talent.subterfuge.enabled&energy>=60))
actions+=/slice_and_dice,if=buff.slice_and_dice.remains<2|((target.time_to_die>45&combo_points=5&buff.slice_and_dice.remains<12)&buff.deep_insight.down)
actions+=/call_action_list,name=adrenaline_rush,if=buff.bloodlust.up|cooldown.killing_spree.remains>10
actions+=/call_action_list,name=killing_spree,if=(energy<40|(buff.bloodlust.up&time<10)|buff.bloodlust.remains>20)&buff.adrenaline_rush.down&(!talent.shadow_reflection.enabled|cooldown.shadow_reflection.remains>30|buff.shadow_reflection.remains>3)
actions+=/marked_for_death,if=combo_points<=1&dot.revealing_strike.ticking&(!talent.shadow_reflection.enabled|buff.shadow_reflection.up|cooldown.shadow_reflection.remains>30)
actions+=/death_from_above,if=combo_points=5&dot.revealing_strike.ticking
actions+=/call_action_list,name=generator,if=combo_points<5|!dot.revealing_strike.ticking|(talent.anticipation.enabled&anticipation_charges<3&buff.deep_insight.down)
actions+=/call_action_list,name=finisher,if=combo_points=5&dot.revealing_strike.ticking&(buff.deep_insight.up|!talent.anticipation.enabled|(talent.anticipation.enabled&anticipation_charges>=3))
actions.adrenaline_rush=adrenaline_rush,if=time_to_die>=44
actions.adrenaline_rush+=/adrenaline_rush,if=time_to_die<44&(buff.archmages_greater_incandescence_agi.react|trinket.proc.any.react|trinket.stacking_proc.any.react)
actions.adrenaline_rush+=/adrenaline_rush,if=time_to_die<=buff.adrenaline_rush.duration*1.5
actions.killing_spree=killing_spree,if=time_to_die>=44
actions.killing_spree+=/killing_spree,if=time_to_die<44&buff.archmages_greater_incandescence_agi.react&buff.archmages_greater_incandescence_agi.remains>=buff.killing_spree.duration
actions.killing_spree+=/killing_spree,if=time_to_die<44&trinket.proc.any.react&trinket.proc.any.remains>=buff.killing_spree.duration
actions.killing_spree+=/killing_spree,if=time_to_die<44&trinket.stacking_proc.any.react&trinket.stacking_proc.any.remains>=buff.killing_spree.duration
actions.killing_spree+=/killing_spree,if=time_to_die<=buff.killing_spree.duration*1.5
actions.finisher=death_from_above
actions.finisher+=/pool_resource,for_next=1
actions.finisher+=/eviscerate,if=(!talent.death_from_above.enabled|cooldown.death_from_above.remains)
actions.generator+=/revealing_strike,if=(combo_points=4&dot.revealing_strike.remains<7.2&(target.time_to_die>dot.revealing_strike.remains+7.2)|(target.time_to_die<dot.revealing_strike.remains+7.2&ticks_remain<2))|!ticking
actions.generator+=/sinister_strike,if=dot.revealing_strike.ticking
head=sorkas_nightshade_cowl,id=113978,bonus_id=567
neck=darklight_necklace,id=113865,bonus_id=567,enchant=gift_of_haste
shoulders=poisoners_spaulders,id=115574,bonus_id=567
back=drape_of_the_dark_hunt,id=113971,bonus_id=567,enchant=gift_of_haste
chest=poisoners_tunic,id=115570,bonus_id=567
wrists=bracers_of_shattered_stalactites,id=113935,bonus_id=567
hands=poisoners_gloves,id=115571,bonus_id=567
waist=girdle_of_unconquered_glory,id=113907,bonus_id=567
legs=poisoners_legguards,id=115573,bonus_id=567
feet=furnace_tenders_treads,id=113895,bonus_id=567
finger1=spellbound_runic_band_of_unrelenting_slaughter,id=118307,enchant=gift_of_haste
finger2=unexploded_explosive_shard,id=113877,bonus_id=567,enchant=gift_of_haste
trinket1=meaty_dragonspine_trophy,id=118114,bonus_id=567
trinket2=humming_blackiron_trigger,id=113985,bonus_id=567
main_hand=hansgars_forgehammer,id=113897,bonus_id=567,enchant=mark_of_warsong
off_hand=hansgars_forgehammer,id=113897,bonus_id=567,enchant=mark_of_warsong