Fix for portfolio.
Fix for random-seed option.
Fix for rewriterules build breakage.
Merge branch '1.3.x'