Fixed behavior of Create rule button