Added ability to constrain to either cube or sphere. Added ability to set a target and have the weights for each subrule altered depending on if they move towards that target