Changing loop constants to finshrule constants.