Deleting rules didnt work correctly. fixed.