table validation code added to the rule
the builtin_chains table is more appropriate for validation
cleaned up error checking a bit
adding spec tests
Merge branch 'issues/1_better_table_validation'