Simulation of similarity and previous knowledge Gestalt rules with coupled neural oscillators