Update calculation's rules.