fix rule for distributed elements