view on resources pimped (tree instead of list)
removed old adding of rules