No I don't think prevent the ruler from deletion in 6.1.X is possible, as the ruler now
is an OpenAccess database object.
But in the "Objects Palette" you can disable it form being selecable, this will prevent
it from being delted by mistake.
Sorry misunderstood the question,
but anyway you can't exlculde the "create ruler" command form the undo.