Remove obsolete rules
Remove obsolete objects
Add an init function
Modify the view