You will need to include this import at the top of the rule file…
import org.eclipse.smarthome.model.script.ScriptServiceUtil
More detail here…