adding the rules view