WINDUP-183: XML-based syntax for rules.

https://issues.jboss.org/browse/WINDUP-183
VERY NICELY DONE.