It is against the rules and the next 3 paragraphs explain more.
§3 Catholic ministers may lawfully administer the sacraments of penance, the Eucharist and anointing of the sick to members of the eastern Churches not in full communion with the Catholic Church, if they spontaneously ask for them and are properly disposed. The same applies to members of other Churches which the Apostolic See judges to be in the same position as the aforesaid eastern Churches so far as the sacraments are concerned.
§4 If there is a danger of death or if, in the judgment of the diocesan Bishop or of the Episcopal Conference, there is some other grave and pressing need, catholic ministers may lawfully administer these same sacraments to other Christians not in full communion with the catholic Church, who cannot approach a minister of their own community and who spontaneously ask for them, provided that they demonstrate the catholic faith in respect of these sacraments and are properly disposed.
§5 In respect of the cases dealt with in §2, 3 and 4, the diocesan Bishop or the Episcopal Conference is not to issue general norms except after consultation with the competent authority, at least at the local level, of the non-Catholic Church or community concerned
I found this explination on another website and it does a great job of explaining this cannon:
***In keeping with the sacramental meaning of the Eucharist this canon reserves the sacraments to Catholics, that is, those who are in communion with the Church. It then addresses the question of Catholics receiving the sacraments from non-Catholics. It sets the following strict conditions:
a. necessity or genuine spiritual advantage
b. when the danger of error or indifferentism is avoided
c. it is physically or morally impossible to approach a Catholic minister
d. a church which has valid sacraments***