added weight penalty for overlapping rules