Fix controller rules