Add strict rules compilation / clean some unused code