What was the week ranking of the episode written by Thomas L. Moran and directed by Andrew Bernstein?
SELECT Rank (week) FROM table WHERE Written by = Thomas L. Moran AND Directed by = Andrew Bernstein