Modules

match contents of a hash against rules