Add some rules to improve learning.