pub fn extract_configs_from_project_config( project_config: &ProjectConfig, ) -> (BaseConfig, Option<RulesConfig>)