Fix add rule use case to new entity for quantity based rules