Fix rules