streamlining rule30_rev_bit