added increaseCredibility to rules javascript

updated app and javascript to increase credibility when function is
called