You cannot place rocks in the Safari Zone in any mainline Pokémon game (Gen I–III remakes, etc.). The Safari Zone is a fixed, pre-designed map with set terrain, grass patches, and encounter tables.
Pay fee → Enter → Walk/Run → Throw Bait/Rock (Gen I/III) / Throw Ball → Catch/Flee.
The "Rock" command is a battle action you select (makes Pokémon easier to catch but more likely to flee), not an object you place on the overworld map.