Conditional Talent Macro

How can I adjust this macro to use moonfire instead of rake if talent 3/3 is selected?

#showtooltip
/cast [mod:alt,@player] [@mouseover,help,nodead] Lifebloom; [@mouseover,harm,nodead] [harm] Rake; Lifebloom

I’d like to keep the functionality the same.

#showtooltip
/cast [mod:alt,@player] [@mouseover,help,nodead] Lifebloom; [talent:3/3,@mouseover,harm,nodead] [talent:3/3,harm] Moonfire; [@mouseover,harm,nodead] [harm] Rake; Lifebloom