added rules, working on delete empty rows