OH3: BooleanExtensions.operator equals(boolean,boolean) on instance: null

Thank you…

Adding sharedCache.put('g_b_is_off_grid', 'false') at the beginning of my rule file, results in red twigglies in VScode… with the attached error:

missing EOF at 'sharedCache'(org.eclipse.xtext.diagnostics.Diagnostic.Syntax)

I created a new empty rules file, same outcome.

Is there an import statement that needs to go in?
image
The doc says must be implicitly imported, but does not say how.

Out of interest, looking at the single quotes in the statement, does it only accept string values? I assume the cache function/object stores numbers w/o quotes too?!