code rule