No point maintaing it in two places.
Let the code stay as-is.
         execute sql;
     end loop;
 
-    -- copy rules
-    for r in
-        select rulename, definition,
-               substring(definition from ' TO (([a-z0-9._]+|"([^"]+|"")+")+)') as oldtbl
-          from pg_catalog.pg_rules
-         where schemaname = parent_schema
-           and tablename = parent_name
-    loop
-        sql := replace(r.definition, r.oldtbl, fq_part);
-        execute sql;
-    end loop;
-
     return 1;
 end;
 $$ language plpgsql;
 
 select count(*) from pg_rules where schemaname = 'public' and tablename = 'events_2011_01';
  count 
 -------
-     1
+     0
 (1 row)
 
 -- \d events_2011_01