Python Rule Engine Jsfiddle Angular Interview Coding