I agree with the last but 1 statement -> the logic in content_view_definition might better fit in filter_rule . Will try to refactor if I find time...