Fix broken rules to add @Before/@After