Add rules-related tables