Apply this expression into each rect position:
var xAmp = 100;
var yAmp = 100;
var freq = 2;
var xValue = Math.cos(time*Math.PI*freq)*xAmp;
var yValue = Math.sin(time*Math.PI*freq)*yAmp;
value + [xValue, yValue];
This will create a circular movement path. You can stretch the movement on the X and Y axis by increasing/decreasing the xAmp and yAmp values. You can also change the speed from the freq variable.