Update rules and reorganize static assets. Add header bar to layout.