bunch of stuff:  rules, UI