added readme detail for rule engine
fixed indentation for code