How do you transform a sinc(x) function into a rect(x) function? Is there a general rule that has to be followed?