FIRE: Flexible Integration of Data Quality Ratings for Effective Pre-Training