Fixing attribute precedence for rule provider.