In the Latin Rite, yes, there are canons regarding reception of the Eucharist and Confirmation and both require use of reason (excepting danger of death):
Can. 913 §1. The administration of the Most Holy Eucharist to children requires that they have sufficient knowledge and careful preparation so that they understand the mystery of Christ according to their capacity and are able to receive the body of Christ with faith and devotion.
§2. The Most Holy Eucharist, however, can be administered to children in danger of death if they can distinguish the body of Christ from ordinary food and receive communion reverently.
Can. 889 §1. Every baptized person not yet confirmed and only such a person is capable of receiving confirmation.
§2. To receive confirmation licitly outside the danger of death requires that a person who has the use of reason be suitably instructed, properly disposed, and able to renew the baptismal promises.
Can. 890 The faithful are obliged to receive this sacrament at the proper time. Parents and pastors of souls, especially pastors of parishes, are to take care that the faithful are properly instructed to receive the sacrament and come to it at the appropriate time.
Can. 891 The sacrament of confirmation is to be conferred on the faithful at about the age of discretion unless the conference of bishops has determined another age, or there is danger of death, or in the judgment of the minister a grave cause suggests otherwise.