Add rules for project view and test