I don't think you can get access to the Spring application context from a TbNode object as the whole rule chain execution is sandboxed and all these objects are not instantiated by Spring. The best you could do, I think, is to fill out your configuration class values from the rule chain editor.