- added reset of the sample member (-1), on newrecords; this will allow rules to detect, if we are on update or insert mode;