Bug 827851 - Move the rules from bug 822017 after including rules.mk; r=ted a=akeybl

--HG--
extra : transplant_source : %3A%5D%B9%8B%87%E4%DC%CD%A2%7F%3F%EE%83%B4%A0%22%B9%9C%81%F2