Added automatic checking to make errors more apparent.
Added button for creating a subrule.
Added dependency checking for removing rules.