Write SQL query to solve given problem: What is the average replacement cost for the movies with a rental rate of 4.99?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT AVG(replacement_cost) FROM film WHERE rental_rate = 4.99