Added learning rule gui