Every computer game runs on a rule set: what the controls do, what counts as a win, what the limits are. Those rules are the game. Change them and you have built something different, which is exactly what modders do.
Layered on top are the rules of the community — the terms of service, the etiquette of a lobby, and the anti-cheat enforcement that keeps a match fair. Cheating is not part of the rules; it is a violation of them, and it is usually punished with a ban.
So there are two sets worth knowing: the mechanics the designers wrote, and the conduct everyone else expects. The first you learn by playing, the second by reading the game's terms once.