Rules to table