* convert variable "rules" to array * allow importing eggs with string rules * fix tests * update stock eggs to rules array