changing behavior when selection of array. Rulernode is retrieved and it's color is set to the chart. This avoids to show the wrong color if it is changed afterwards
test added