fix backend rules