Funnyman Chris Rock is to step behind the camera to direct an episode of his biographical TV comedy Everybody Hates Chris.