To start, you can put almost any set of Subaru brakes on any other Subaru. If you want WRX brakes on your L or something you pretty much just have to buy some and bolt them on. There are some exceptions, however, mostly relating to the rear, which are explained later on.
Additionally, the 05+ sti has a different bolt pattern (5x114.3 vs 5x100) so those rotors are not compatible with other models.
If your car has rear drum brakes, a disc swap is fairly more involved. I'm not entirely sure