If yes, what were they? who enforced those rules? were there any trials? who presided over these trials, the captain, the first mate, or did it alternate? What were the punishments, was it always death, or did they jail people?
Here's a similar post that was answered a while back.