Re-add table of content to rules, remove unnecessary rules