Rules resolving