It’s moving to the left corner because that’s what the command MoveTo(0,0) does. Your Drag command is correct, but it should be followed by a Drop command that designates the target where you want to drop the icon. So, is there an icon already on the toolbar that you could Drag the Ratings icon to? Script it just the way you would do it as a user. If you need to script the Drop to occur next to an item on the toolbar, use the image hotspot to do that (see page 10 of the Using Eggplant guide under the Help menu).
Some Icons is already there in the Toolbar. I Want to add one more icon i.e Ratings. If we take any image of existing icon Some times script will Fail(When the Captured Image is not there in the Toolbar).