Delete IDE temporary file
Added unit-test for trivial use cases of rule checker.