RuleHandler now tested and working.
Added test functionality to GUI..