* @param entityname The entity name of intrest.
* @return The list of Entity Entries that define the attributes of the Entity
*/
public List<REntityEntry> getEntityEntries(String rulesetname, String entityname){
ArrayList<REntityEntry> entries = new ArrayList<REntityEntry>();
RuleSet rs = getRuleset(rulesetname);
IREntity entity;
try {
entity = rs.getEntityFactory(session).findRefEntity(RName.getRName(entityname));
Iterator<RName> attribs = entity.getAttributeIterator();
while(attribs.hasNext()){
entries.add(entity.getEntry(attribs.next()));
}