Fixes for user rules directory issues

Just to get jenkins running on it for the moment...