Adjust rule to cover rewritten app.php/ locations