Add info on defining rules [docs]