refactor NotationRules into StaffType and NotationPanel into STaffTypeTemplates