Updated the table to use class instead of ids. implemented table row wise rules.