LastRule fix