Ok, maybe this won't be allowed due to cross site scripting, but I think I'll try it anyway.
It would be cool to have a pop-out that opens up the console and runs the example code listed in the rule.
Ok... that might have security implications with various people inserting malicious code into the explanations, but we can make it it's own module thing and remove it if it becomes a problem.