UI refresh

- Fix some small bugs related to UI
- Can see summary of a rule and summary of components