Make the custom pricing rules accept 10 decimal places so that it can be rounded properly

Issue #565 resolved