added checkNativeDataType() and added boolean parameters for forward-looked tokens in rules