Fixed issues with empty mprioritized rules list and removing the currently selected rule.