Fix for issue #6, rules correctly exit to root