iwhak->EU rules about airlines paying the published prices only apply to public airports. Knock is privately owned, so can make whatever deals it likes.
That said, I agree that it would be counter-productive to give Ryanair preferential rates compared to XL. It would mean that no other operators would touch the airport in future.