inventory rules methods