rice transformations