Fixed bug for quantity message and site wide rules