updated rules table layout; limit to 20 mappings