Added support for compatibility rules.