[SOLVED] Problem with State Type objects

Hello,
I have a problem with smartHome designer that give me an allert on the left column as you can see

State cannot be resolved as a type is the message given over the allert image.

my global imports in the .rules file are :

// Imports
import org.openhab.core.library.types.*
import org.openhab.core.persistence.*
import org.openhab.model.script.actions.*
import org.joda.time.*
import org.openhab.core.types.*
import org.openhab.core.items.*
import java.util.regex.Matcher
import java.util.regex.Pattern

Is it normal that alert on State java obj or not ? Can someone help me ?

I reply the solution I found for the people that could have my same problem in the future.

the var State VarName problem is linked to the global IMPORTS!!!

// Imports
import org.openhab.core.library.types.*
import org.openhab.core.persistence.*
import org.openhab.model.script.actions.*
bla bla bla

I REPLACE

org.openhab with org.eclipse.smarthome reference Documentation

And The rule works!!!