rules under 4 codes