You have to match the rebuild kit to the diameter of the master cylinder .
There is a number cast into the master cylinder, you can see it if you look at the bottom side of the part .
Should be 12, 15, 16 , corresponds to the diameter of the master cylinder bore in mm .
Just make sure you get the correct kit .
Master cylinder is not a difficult part to rebuild .
Only difficulty you probably will have, is getting it removed from handle bar fitting, usually corrosion starts between the two parts and makes it a job to get the two separated .
Drain and flush the old fluid out .
When you get time, it would be a good idea to remove the caliper and dis-assemble it, clean it out and replace seals there as well .