Implemented combined whelk with rules for storage and retrieval.