[shipping rule] validations and test cases