Flocking Rules Governing Swarm Robot as Tool to Describe Continuum Deformation