How To Write A Rule To Describe Transformation