BOM rules can be defined as a map.
bom get throws exception if there is a request for a modspec for which there is no rule in BOM