[ruleview] Part 3: Add Rule ui