A little help here

So I’ve been trying to change these 2 macros into the new GSE 2.0 format and I’ve failed mightily. If someone could help me out with these 2 I’d really appreciate it.

Sequences["Rhaz"] = {
StepFunction = [[
	limit = limit or 1
	if step == limit then
		limit = limit % #macros + 1
		step = 1
	else
		step = step % #macros + 1
	end
]],
PreMacro = [[
/console Sound_EnableSFX 0
/targetenemy [noharm][dead]
/startattack
/cast [combat] Battle Cry
]],
[[/castsequence reset=60 Rampage,Battle Cry]],
[[/cast Rampage]],
[[/cast Bloodthirst]],
[[/cast Raging Blow]],
[[/cast Furious Slash]],
[[/cast Odyn's Fury]],
[[/cast Dragon Roar]],
[[/cast !Execute]],
PostMacro = [[
/startattack
/use [combat]13
/use [combat]14
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}
Sequences["RhazAoE"] = {
StepFunction = [[
	limit = limit or 1
	if step == limit then
		limit = limit % #macros + 1
		step = 1
	else
		step = step % #macros + 1
	end
]],
PreMacro = [[
/console Sound_EnableSFX 0
/targetenemy [noharm][dead]
/startattack
/cast [combat] Avatar
/cast [combat] Battle Cry
]],
[[/castsequence reset=60 Rampage]],
[[/cast Whirlwind]],
[[/cast Odyn's Fury]],
[[/cast Bloodthirst]],
[[/cast Whirlwind]],
[[/cast Rampage]],
[[/cast Raging Blow]],
PostMacro = [[
/startattack
/use [combat]13
/use [combat]14
/cast [combat]Bloodbath
/cast [combat]Blood Fury
/cast [combat]Berserker Rage
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}