It is way too easy to delete the ruler from the work surface if you are trying to edit an object dimension which is physically close to the ruler delete button. I have two ideas about this.
1) Couldn't the ruler object be saved as part of the work surface, instead of being a selectable object in the list of editable objects?
2) A confirmation popup asking permission to delete would be helpful.