fixes #158 - organize sequence numbers on snapshot delete from trail
fixex #159 - organize menu rule