complex rules:  slight performance optimization and added warnings for slow rules