WINDUP-388: Convert existing application rules from Java to XML syntax

Not yet tested if it really is the same. Otherwise, ready to be reviewed.