engine managment flash ? cat

hi guys whilst driving today the engine managment light came on and flashed i pulled over switched enginge off then started again, hasnt came back on, im wondering if this is impending doom of the CAT FAILING AS THERE IS A NOTICEBLE RATTLE FROM THE cat closest to the rear of car?
help apreciated guys thanks
 
was you driving slow like a granny, mine did this a few times a few years back in very hot weather when driving like a granny, disapeared and never came back on, i think its happen to a few on here.
 
fingers x and yeah was driving bit like a granny and it is hot here, i have hat car up on ramps and there is a rattle coming from second cat,