allow saving and loading of arbitary keys
change "create rule" link in popup to call rule extractor