Written in Latin and French by various authors over the course of a century and a half, the original rules documents no longer exist. But they are known through subsequent translations.
And what happened to knights when the rules weren’t followed? According to the code, comeuppance ranged from corporal punishment to losing one’s habit (knight’s robes) to banishment from the brotherhood. Lesser infractions sometimes required the sinner to eat his meals on the floor.