Implementing planning logic: select Value For Grounding Numeric State