Executes the current locomotionRule
At this point this is done by relating the name of the this rule
with the corresponding function (predefined locomotion) for execution
But can be reconsidered in doing this differently as all functions
are described in every instantiation LocomotionRule class, however
only one is associated/used.