Arcana Coelestia #125
125. Verse 16 And Jehovah God commanded the man and said, From every tree in the garden you may indeed eat.
'Eating of every tree' is recognizing and knowing, from perception, what good and truth are; for, as stated already, 'a tree' means perception. Members of the Most Ancient Church possessed the cognitions of true faith by means of revelations, for they talked to the Lord and to angels. They were also taught through visions and dreams, which to them were supremely delightful and blissful. They received perception from the Lord continually; and as a result of that perception, when they thought from things in their memory they instantly perceived whether these were true and good, insomuch that when anything false came up they not only had nothing to do with it but were also horrified. This is also the state of angels. Later on however knowledge of what is true and good took the place of the perception which the Most Ancient Church enjoyed, a knowledge based on what had been previously revealed, and later, on things revealed in the Word.
Woman clothed with the sun
The woman clothed, or encompassed, with the sun, and the moon under her feet (Revelation 12:1), signifies the Lord's new church in the heavens, which is the new heaven, and the Lord's new church about to be upon earth, which is the New Jerusalem.
That the Lord's new church is signified by this woman, appears from all the particulars of this chapter, understood in a spiritual sense. The sun signifies love. The reason why she appeared encompassed with the sun is because the church is principled in love to the Lord, for it acknowledges him, and does his commandments, and this is to love him (John 14:21-24).
The reason why the moon was seen under the woman's feet is because the church on earth is meant, which is not yet conjoined with the church in the heavens. The moon signifies intelligence in the natural man, and faith; and by appearing under the feet is signified that it is about to be upon earth.
(Referencat: Apocalypse Revealed 533; John 14)