I'd double check the rules in your area. I wouldn't think a 225 would qualify as an open class bike but rather a 250. I'd think a 201cc to 250cc bike would be lumped together in the 250 class regardless of whether the stock cylinder had been enlarged? ? ?
David
Follow-up:
I had a look at the AMA Rules handbook and unless I’m missing something, and I don't believe I am, you have no fear of modifying your KDX to the extent it would be considered an open class bike. Displacements between 201 and 250cc would qualify you for the same displacement class as your friends 250s for HS, CC, Enduro, MX etc racing. Going with either a KDX220 top end or an EG 225cc top end will qualify you to ride the 201 to 250cc class. From what I read in the eyes of the AMA there is no difference between an engine displacing 220cc or 225cc so you are good to go either way.
For more info you can check out the AMA's home page.
David