Added spring initilisation to basic rule impl