rules view ui