fix stock rules