What was the week ranking of the episode written by Thomas L. Moran and directed by Andrew Bernstein?
create table table_23177573_1 (rank__week_ varchar, written_by varchar, directed_by varchar, PRIMARY KEY (rank__week_))
select rank__week_ from table_23177573_1 where written_by = "thomas l. moran" and directed_by = "andrew bernstein"