I would check its attributes by clicking the paint bucket icon on the Properties bar when it is selected. The rectangle was probably created with the Edges property disabled.
Thanks Andrew ........ that was the problem. I keep forgetting about that 'other' properties bar . wasn't there some plans to change the need for that ???