fixed
added transition
fxied rules