rem: _shouldShowMenuItem: function(metadata, rules) { for (var i = 0; i < rules.length; ++i) { if (rules[i] in metadata) return true; 
add: _shouldShowMenuItem: function(aMenuItem, aMetaData) { var selectiontype = aMenuItem.getAttribute("selectiontype"); if (selectiontype == "multiple" && aMetaData.length == 1) return false; if (selectiontype == "single" && aMetaData.length != 1) return false;  var forceHideRules = aMenuItem.getAttribute("forcehideselection").split("|"); for (var i = 0; i < aMetaData.length; ++i) { for (var j=0; j < forceHideRules.length; ++j) { if (forceHideRules[j] in aMetaData[i]) return false; } 
context:   _shouldShowMenuItem: function(metadata, rules) {    for (var i = 0; i < rules.length; ++i) {      if (rules[i] in metadata)        return true;    }    return false;  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/dae01d62ef39570e32161afc62866f13056e324e/controller.js/clean/browser/components/places/content/controller.js