fixed bug in logic for checking if a rule is already inserted. mysql DBI execute
will returns 0E0 if 'zero rows are inserted' which perl intreprets are true so I need to check for it explicitly. Also store method now returns 1 on 'new insert' and '0' and 'already stored'.
Showing with 7 additions and 3 deletions