Risk rules editor

The risk rules are now editable in the interface.