Look at the IPSC rule book, appendix D.
It will spell out the different divisions and the configuration of your rifle in order to compete in that division.
There are different divisions for optics and irons, semi and manual action etc.
As far as magazine limits, we are limited by Canadian firearm laws.