I'm assuming you mean you're editing the game files directly instead of making a mod that does this, right?
The Australia game files are outside the normal directory. Instead of Base/Assets/Gameplay and so on, go to DLC/Australia/Data/Australia_Units.xml
Then just find the PrereqTech="TECH_REPLACEABLE_PARTS" and replace it with PrereqTech="TECH_RIFLING"