rowrecs_to_blocks_spec function

Create a row records to block records transform specification.