ability to define rules as well as use sotred keys