Alexander Pope's "An Essay on Criticism.

Would this be considered a analogy or personification?

Those RULES of old discover'd, not devis'd,
Are Nature still, but Nature Methodiz'd;
Nature, like Liberty, is but restrain'd
By the same Laws which first herself ordain'd.

* i thought it would be personification because he is comparing nature to liberty

He's giving both liberty and nature human characteristics -- so, yes, personification.

"which first herself ordain'd"

So he is comparing both to a women?

He's comparing them to each other and giving both a woman's characteristics.

Please note:

woman = one

women = two or more

Oh i see.. and thanks i was just typing too fast there haha

In this excerpt from Alexander Pope's "An Essay on Criticism," the lines you provided are not necessarily examples of either analogy or personification. Instead, they can be seen as a combination of metaphor and personification.

The lines "Those RULES of old discover'd, not devis'd, / Are Nature still, but Nature Methodiz'd" compare rules derived from the past to nature that has been organized and structured. This is an example of metaphor, as Pope is equating the rules with nature in a figurative sense.

The line "Nature, like Liberty, is but restrain'd / By the same Laws which first herself ordain'd" personifies both nature and liberty by attributing the ability to ordain and restrain to them. Personification occurs when non-human objects or concepts are given human qualities or actions.

So, to answer your question, these lines contain metaphorical language and personification, rather than being purely examples of either analogy or personification alone.