Using function in rules

Hello...

I'm having problems using a function in my rules file (see rules file and boot.log below.) When I delete the function and put the execute lines within a rule, everything is fine.

I think it's got something to do with the "*" in this import:

     import org.openremote.controller.protocol.*;

Thanks for looking!

73,
  Gary

============ modeler_rules.drl file ==========================================

package org.openremote.controller.protocol
global org.openremote.controller.statuscache.CommandFacade execute;
global org.openremote.controller.statuscache.SwitchFacade switches;
global org.openremote.controller.statuscache.LevelFacade levels;
import org.openremote.controller.protocol.*;
import org.openremote.controller.model.event.*;
import java.lang.Float;

function void allOff(){
  execute.command("Vsw Sta00 OFF");
  execute.command("Vsw Sta01 OFF");
  execute.command("Vsw Sta02 OFF");
  execute.command("Vsw Sta03 OFF");
  execute.command("Vsw Sta04 OFF");
  execute.command("Vsw Sta05 OFF");
  execute.command("Vsw Sta06 OFF");
  execute.command("Vsw Sta07 OFF");
}

=============== From boot.log =================================================

INFO 2017-09-10 13:59:41,655 : Initialized event processor : Drools Rule Engine
INFO 2017-09-10 13:59:41,656 : Initialized event processor : RRD4J Data Logger
INFO 2017-09-10 13:59:41,752 :