Heat oven to 350°F. Spray 11x7-inch baking dish with cooking spray. In 12-inch skillet, cook bacon over medium-high heat, stirring frequently, until crisp. Reduce heat to low; add onion and garlic; cook 2 to 3 minutes, stirring occasionally, until soft. Remove from heat; stir in bread crumbs. Stir in cheese, rosemary and egg; mix well.