Groovy Logic Controller