Add factory annotation and use clone for rule based renderer