Since when you enter the two tests and save them it does not verify their correctness and I had made an error in specifying these are "rule" rather than "code" it is simple error to make.
A nice feature in the editor would be to check that at least the code compiles or the rule is valid before allowing them to save it.
Ed.