State updates rules for pharmacy middlemen