Description of problem:
RFE: Show hierarchy for rules and groups when I select "Run after" while create or edit rule
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go to the rule egine index page, create or edit a rule engine
2. Select value for "Run after", so many rules list there
3. It is better that only list the active rules and Show hierarchy for rules and groups
Note that the grouping of rules is just a cosmetic feature to make it easier for users to find what they're looking for in the user-interface.
Inside the Rules Engine, there is no hierarchy of rules based on the UI grouping. Instead, there is a single flat 'master list' of rules containing all of the rules in Run After order. The grouping of rules in the UI doesn't affect the Run After order and it is perfectly valid to mark a rule in one group to run after a rule from another group.
It is also valid to have disabled rules in the run order. Those rules will be skipped when the Rules Engine processes bugs, and when the rule is enabled it will keep its place in the run order.