You want to see what rules you have defined for a particular view/table.
Use the pg_rules system table.
SELECT * FROM pg_rules WHERE tablename='foo';