Fix the case with no learning rule