Thanks Jason, yes thats what I did in the end.
I don't think it was the code order though, it was the actual behaviour GUI itself that I was having problems with. I was able to select the WA Rule from the drop down list but the OK button did nothing with a rule selected. If I selected the other triggers then the OK button functioned correctly. I don't think that is the code order on the page is it?