\[~nicolas.peru] I don't know if this would go in 'implementation details' but this rule should look at both classes and XML configuration files. In Hibernate, at least, you can map classes to tables in XML.
Also, since this is a cross-file check, I understand that we won't get to even the first half of it soon. :)