add rules checker