Slope is defined as rise (height) over run (length) so we can express this as slope = Height/Length.
Your rule says that the maximum slope (H/L) cannot exceed 1/12. If the height is 4 this means the length must be at least 4(12) = 48.
In other words: slope = H/L = 4(1)/4(12) = 4/48 = 1/12
If L is less than 48 the the slope is Greater than 1/12 and this is not allowed. Any length longer than 48 and the slope is less than 1/12 and this is OK.