he saw , rather ruefully , that his obsession with rules had been quite wrong-headed and had , into the bargain , caused him to fall behind the rest of his class in learning of this wonderful new doctrine .