Something like this would probably do the trick:
Code:
actions+=/avenging_wrath,if=talent.sanctified_wrath.enabled&talent.seraphim.enabled&time<2
If you're using trinkets like Scabbard of Kyanos you can also add:
Code:
actions+=/use_item,name=scabbard_of_kyanos,if=buff.avenging_wrath.up&!talent.seraphim.enabled
actions+=/use_item,name=scabbard_of_kyanos,if=buff.seraphim.up&time<10
actions+=/use_item,name=scabbard_of_kyanos,if=buff.avenging_wrath.up&buff.seraphim.up&time>10
To ensure that Scabbard is activated alongside Seraphim and not AW on the pull with SW talented.
The whole 'Actions' list should look something like this:
Code:
actions=rebuke
actions+=/potion,name=draenic_strength,if=(buff.bloodlust.react|buff.avenging_wrath.up|target.time_to_die<=40)
actions+=/auto_attack
actions+=/speed_of_light,if=movement.distance>5
actions+=/judgment,if=talent.empowered_seals.enabled&time<2
actions+=/execution_sentence
actions+=/lights_hammer
actions+=/use_item,name=scabbard_of_kyanos,if=buff.avenging_wrath.up&!talent.seraphim.enabled
actions+=/use_item,name=scabbard_of_kyanos,if=buff.seraphim.up&time<10
actions+=/use_item,name=scabbard_of_kyanos,if=buff.avenging_wrath.up&buff.seraphim.up&time>10
actions+=/holy_avenger,sync=seraphim,if=talent.seraphim.enabled
actions+=/holy_avenger,if=holy_power<=2&!talent.seraphim.enabled
actions+=/avenging_wrath,if=talent.sanctified_wrath.enabled&talent.seraphim.enabled&time<2
actions+=/avenging_wrath,sync=seraphim,if=talent.seraphim.enabled
actions+=/avenging_wrath,if=!talent.seraphim.enabled
actions+=/blood_fury
actions+=/berserking
actions+=/arcane_torrent
actions+=/seraphim
actions+=/wait,sec=cooldown.seraphim.remains,if=talent.seraphim.enabled&cooldown.seraphim.remains>0&cooldown.seraphim.remains<gcd.max&holy_power=5
actions+=/call_action_list,name=cleave,if=active_enemies>=3
actions+=/call_action_list,name=single