added rule30_shift_ring