Inject Link Using Rules->CustomPHP
If anyone's interested in what I did here: this is best done using Views and Panels. Determining if a user owned a certain item required Views PHP. Once I got that working, it was pretty extensible, and I was able to implement some other displays based on it.