Enable the Remove Regular Expression MenuItem, only when the selected TreeNode has a Regex assigned to it.