added ability to call applyRaty only on children of a particular element