rules for integers pdf