Advanced shipping calculator based on rules matrix for Spree