CREATE TABLE table_23177573_1 (rank__week_ VARCHAR2, written_by VARCHAR2, directed_by VARCHAR2)

What was the week ranking of the episode written by Thomas L. Moran and directed by Andrew Bernstein?
SELECT rank__week_ FROM table_23177573_1 WHERE written_by = "Thomas L. Moran" AND directed_by = "Andrew Bernstein"
SELECT "rank__week_" FROM "table_23177573_1" WHERE "Andrew Bernstein" = "directed_by" AND "Thomas L. Moran" = "written_by"